<?php

class Controller_Admin_Appearance_Menu_Refresh extends Controller
{
	function execute($request)
	{
		$_id = $request -> getParam('_id');

		$item = Model::factory('agilet_menu', $_id);

		$item -> updateStructure();

		$item -> save();

		$this -> redirect('admin/appearance/menu');
	}

}
